﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Hotel.Models.Entity
{
    public class Staff
    {
        private int _pkStaffID;
        private GroupStaff _groupStaff;
        private string _userName;
        private string _passWord;
        private string _name;
        private string _address;
        private string _phone;
        private string _email;
        private string _passport;
        private DateTime _birthDay;
        private string _birthPlace;
        private string _sojourn;
        private string _resident;
        private DateTime _dateEntry;
        private double _wage;
        private string _note;
        private int _workingDay;
        private int _authorities;

        public Staff()
        {
            _pkStaffID = 0;
            _groupStaff = new GroupStaff();
            _userName = string.Empty;
            _passport = string.Empty;
            _name = string.Empty;
            _address = string.Empty;
            _phone = string.Empty;
            _email = string.Empty;
            _passport = string.Empty;
            _birthDay = DateTime.MinValue;
            _birthPlace = string.Empty;
            _sojourn = string.Empty;
            _resident = string.Empty;
            _dateEntry = DateTime.MinValue;
            _wage = 0;
            _note = string.Empty;
            _workingDay = 0;
            _authorities = 0;
        }

        public int PkStaffId
        {
            get { return _pkStaffID; }
            set { _pkStaffID = value; }
        }

        public GroupStaff GroupStaff
        {
            get { return _groupStaff; }
            set { _groupStaff = value; }
        }

        public string UserName
        {
            get { return _userName; }
            set { _userName = value; }
        }

        public string PassWord
        {
            get { return _passWord; }
            set { _passWord = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string Address
        {
            get { return _address; }
            set { _address = value; }
        }

        public string Phone
        {
            get { return _phone; }
            set { _phone = value; }
        }

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }

        public string Passport
        {
            get { return _passport; }
            set { _passport = value; }
        }

        public DateTime BirthDay
        {
            get { return _birthDay; }
            set { _birthDay = value; }
        }

        public string BirthPlace
        {
            get { return _birthPlace; }
            set { _birthPlace = value; }
        }

        public string Sojourn
        {
            get { return _sojourn; }
            set { _sojourn = value; }
        }

        public string Resident
        {
            get { return _resident; }
            set { _resident = value; }
        }

        public DateTime DateEntry
        {
            get { return _dateEntry; }
            set { _dateEntry = value; }
        }

        public double Wage
        {
            get { return _wage; }
            set { _wage = value; }
        }

        public string Note
        {
            get { return _note; }
            set { _note = value; }
        }

        public int WorkingDay
        {
            get { return _workingDay; }
            set { _workingDay = value; }
        }

        public int Authorities
        {
            get { return _authorities; }
            set { _authorities = value; }
        }
    }
}